package com.gaoyubo.service;

import com.gaoyubo.entity.Goods;
import com.gaoyubo.vo.GoodsVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface GoodsService {
    PageInfo<Goods> getList(Integer pageNum, Integer pageSize, GoodsVo goodsVo);

    List<Goods> getListById(Integer id);

    boolean saveOrUpdate(Goods goods);

    Goods getUpById(Integer id);

    boolean delete(Integer id);
}
